
package core.reports;

import core.Item;
import core.ProductGroup;
import core.StorageUnit;

/**
 *
 * @author Eric
 */
public class ExpiredItemsNode {
    private StorageUnit su;
    private ProductGroup pg;
    private String productDescription;
    private Item item;
    
    public ExpiredItemsNode(StorageUnit su, ProductGroup pg, String productDescription, Item item)
    {
        this.su = su;
        this.pg = pg;
        this.productDescription = productDescription;
        this.item = item;
    }
    
    /**
     * returns Storage unit variable
     * @return 
     */
    public StorageUnit getStorageUnit()
    {
        return su;
    }
    
    /*
     * returns product group
     */
    
    public ProductGroup getProductGroup()
    {
        return pg;
    }
    
    /**
     * returns product description
     * @return 
     */
    public String getProductDescription()
    {
        return productDescription;
    }
    
    /**
     * returns item
     * @return 
     */
    public Item getItem()
    {
        return item;
    }
}
